#ifndef PROCEDURALTERRAINTOOL_H
#define PROCEDURALTERRAINTOOL_H

#include <ctype.h>
#include "QuickArray.h"
#include "tool.h"
#include "Operation.h"
#include "EqnParser.h"
#include "rendermanager.h"

#define SAMPLING_RATE 3

class ProceduralTerrainTool:virtual public Tool
{
    ProceduralTerrainTool();
    RenderManager* rend;
    public:

    static ProceduralTerrainTool* getInstance();
    string getType(){return "Procedural";}
    void tester();
    void genTerrain(const char *surfEqn,
                    const char *redEqn,
                    const char *greenEqn,
                    const char *blueEqn,
                    const vector3<int> &start,
                    const vector3<int> &end);
};

#endif // PROCEDURALTERRAINTOOL_H
